<?php /* Smarty version Smarty-3.0.7, created on 2013-12-27 10:06:30
         compiled from "E:/runtime/other/zqn.sh/app_admin/_view/templates\other/banner.html" */ ?>
<?php /*%%SmartyHeaderCode:725152bce0a6344235-32494455%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a9bcd415085e0e247825bd4d2e5ef02ccb130833' => 
    array (
      0 => 'E:/runtime/other/zqn.sh/app_admin/_view/templates\\other/banner.html',
      1 => 1388109980,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '725152bce0a6344235-32494455',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("_header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div class="content">
    <div class="header">
        <div class="stats">
            <p class="stat"><!--span class="number"></span--></p>
        </div>
        <h1 class="page-title">首页幻灯</h1>
    </div>
    <ul class="breadcrumb">
        <li><a href="#">控制面板 </a> <span class="divider">/</span></li>
        <li><a href="./?application=admin&controller=other">其它设置</a><span class="divider">/</span></li>
        <li class="active">子页横幅</li>
    </ul>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="bb-alert alert alert-info" style="display: none;">
                <span>操作成功</span>
            </div>
            <!-- TPLSTART 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
            <div class="alert alert-info" style="display:<?php echo $_smarty_tpl->getVariable('AlertContainerDisplaySwitch')->value;?>
;">
				<button type="button" class="close" data-dismiss="alert">×</button>
                <?php echo $_smarty_tpl->getVariable('AlertContent')->value;?>

            </div>            
      <div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请填写详细信息</a></li>
    </ul>	
	
	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">
           <form id="tab" method="post" action="./?application=admin&controller=banner&method=edit">
				<label>了解色彩</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File1')->value;?>
" id="file1" name="file1" style="width:350px">
				<a id="icon_select1" control="file1" class="btn btn-info" style="vertical-align:top">上传图片</a>
                
				<label>最新活动</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File2')->value;?>
" id="file2" name="file2" style="width:350px">
				<a id="icon_select2" control="file2" class="btn btn-info" style="vertical-align:top">上传图片</a>
                
				<label>服务方式</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File3')->value;?>
" id="file3" name="file3" style="width:350px">
				<a id="icon_select3" control="file3" class="btn btn-info" style="vertical-align:top">上传图片</a>
                
				<label>服务价格</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File4')->value;?>
" id="file4" name="file4" style="width:350px">
				<a id="icon_select4" control="file4" class="btn btn-info" style="vertical-align:top">上传图片</a>
                
				<label>拍摄流程</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File5')->value;?>
" id="file5" name="file5" style="width:350px">
				<a id="icon_select5" control="file5" class="btn btn-info" style="vertical-align:top">上传图片</a>
                
				<label>联系色彩</label>
				<input type="text" value="<?php echo $_smarty_tpl->getVariable('File6')->value;?>
" id="file6" name="file6" style="width:350px">
				<a id="icon_select5" control="file6" class="btn btn-info" style="vertical-align:top">上传图片</a>                
                                                                                
				<!--- 选择图标层--->			
				
				<!--- 选择图标层 结束--->
				
				
				<div class="btn-toolbar">
					<button type="submit" class="btn btn-primary"><strong>提交</strong></button>
				</div>
			</form>
<div class="modal hide fade" id="myModal" style="width:300px;top:60%;left:60%;">
  <div class="modal-body">
  <form target="uc" action="./?application=admin&controller=banner&method=upload" method="post" enctype="multipart/form-data" style="padding:0px; margin:0px;">
<input type="file" name="file" />
<div id="uploaderror"></div>
<input type="text" name="control" id="control" style="display:none;" />
  </div>
  <div class="modal-footer">
    <a href="#" class="btn" data-dismiss="modal">关闭</a>
      <input type="submit" class="btn" value="确定" />
  </div>
  </form>
  <iframe id="uc" name="uc" width="500" height="500" style="display:none;"></iframe>
</div>
        </div>
    </div>
</div>
<script>
$('#icon_select1,#icon_select2,#icon_select3,#icon_select4,#icon_select5').click(function(){			
    $('#control').val($(this).attr('control'));	
	$('#myModal').modal({
		backdrop:true,
		keyboard:true,
		show:true
    });	
});

$('.icon').click(function(){
		var obj=$(this);
		$('#icon_preview').removeClass().addClass(obj.text());
		$('#icon_id').val(obj.text());
		$('#myModal').modal('toggle');
});
</script>           
<?php $_template = new Smarty_Internal_Template("_footer_common.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>